import Vue from 'vue'
import {
  Button,
  Message,
  MessageBox,
  Menu,
  MenuItem,
  MenuItemGroup,
  Pagination,
  Dialog,
  Form,
  FormItem,
  Input,
  Row,
  Col,
  Select,
  Cascader,
  DatePicker,
  Autocomplete,
  Upload,
  Radio,
  Tabs,
  TabPane,
  Backtop,
  Drawer,
  Progress,
  Option,
  Tag,
  Switch,
  Checkbox,
  CheckboxGroup,
  RadioGroup,
  Popconfirm,
  Loading,
  Submenu,
  Tooltip,
  Badge
} from 'element-ui'

Vue.use(Button)
  .use(Menu)
  .use(MenuItem)
  .use(MenuItemGroup)
  .use(Pagination)
  .use(Dialog)
  .use(Form)
  .use(FormItem)
  .use(Input)
  .use(Row)
  .use(Col)
  .use(Select)
  .use(Cascader)
  .use(DatePicker)
  .use(Autocomplete)
  .use(Upload)
  .use(Radio)
  .use(Tabs)
  .use(TabPane)
  .use(Backtop)
  .use(Drawer)
  .use(Progress)
  .use(Option)
  .use(Tag)
  .use(Switch)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Radio)
  .use(RadioGroup)
  .use(Popconfirm)
  .use(Loading)
  .use(Submenu)
  .use(Tooltip)
  .use(Badge)
Vue.prototype.$msg = Message
Vue.prototype.$confirm = MessageBox.confirm
